/*
var arr = [{
    name: 'M',
    age: 17
}, {
    name: 'L',
    age: 18
}, {
    name: 'N',
    age: 19
}]

var newArr=arr.filter(function (item) {
  return item.age>17;
})*/


function dealMessage(message,callback) {
     callback(message);
}

/*dealMessage('hello',function (message) {
        console.log("No"+" hello");
})
var callback=function (message) {
   console.log(message+" and thanks");
}

dealMessage('hi',callback)*/

module.exports={
    dealMessage
}
